package booroo.basic;

import java.util.Scanner;

public class J08_EnterPrint {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num[] = new int[10];
		System.out.print("10개의 숫자를 입력하세요 : ");
		for(int i = 0;i < 10;++i){
			num[i] = sc.nextInt();
		}
		for(int j = 1;j <= 10;++j){
			if (j % 2 == 0){
				System.out.println(num[j-1]);
			}
			else System.out.print(num[j-1] + " ");
		}
	}

}
